package test4;

public class Test {
    public static void Print1(printer printer){
        printer.print();
    }
    public static void main(String[] args) {
        printer ColorPrinter = new colorPrinter();
        printer BAWPrinter = new bawPrinter();

        Print1(ColorPrinter);
        Print1(BAWPrinter);
    }
}
